package rad.framework.mda.generator.template.test.resources;

public class Jndi
{
  protected static String nl;
  public static synchronized Jndi create(String lineSeparator)
  {
    nl = lineSeparator;
    Jndi result = new Jndi();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory" + NL + "java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces";
  protected final String TEXT_2 = NL;

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    

    stringBuffer.append(TEXT_1);
    stringBuffer.append(TEXT_2);
    return stringBuffer.toString();
  }
}
